cmake_minimum_required(VERSION 3.15)

project(${LIB_NAME})

# 自动搜寻文件
file(GLOB sources CONFIGURE_DEPENDS 
    *.c
)

# 编译静态库
add_library(${PROJECT_NAME} STATIC ${sources})

target_include_directories(${PROJECT_NAME}
    PUBLIC ${CMAKE_SOURCE_DIR}/include
)
